package com.axonactive.yolo.dao.interfaces;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.axonactive.yolo.domain.SubscribedFlightUserId;


public interface SubscribedFlightUserIdRepository extends JpaRepository<SubscribedFlightUserId, Integer> {
	
	public List<SubscribedFlightUserId> findByUserId(int id);

	public List<SubscribedFlightUserId> findByFlightIdAndUserId(String flightId, int userId);
	
	public List<SubscribedFlightUserId> findByFlightId(String flightId);

}